local skel=fk.CreateSkill {
    name = "ling_qiangyi",
  }

Fk:loadTranslationTable{
    ["ling_qiangyi"] = "强易",
    [":ling_qiangyi"] = "出牌阶段限一次，你可以选择一名其他角色，获得其两张牌并交给其两张牌，每名角色限一次。‌‌",
    ["#ling_qiangyi-swap"] = "强易：获得 %dest 的 %arg 张牌！",
    ["#ling_qiangyi-give"] = "强易：交予 %dest 两张牌！",
    ["#ling_qiangyi-invoke"] = "强易：你可以选择一名其他角色，获得其两张牌并交给其两张手牌，每名角色限一次。‌‌",
  }

skel:addEffect("active", {
    prompt = "#ling_qiangyi-invoke",
    anim_type = "support",
    card_num = 0,
    target_num = 1,
    target_filter = function (self, player, to_select,selected)
        local room=Fk:currentRoom()
        local players=room.alive_players

      return to_select ~= player and #selected==0 and  to_select:getMark(skel.name)==0

    end,
    can_use = function (self, player)
        local room=Fk:currentRoom()
        local players=room.alive_players
      return  table.find(players,function(p)
        return p:getMark(skel.name)==0
      end) and player:usedSkillTimes(skel.name,Player.HistoryPhase)<1
    end,
    on_use = function (self, room, effect)
        local player= effect.from
        local target=effect.tos[1]
        --获得
        room:setPlayerMark(target,skel.name,1)
        local swaps = player.room:askToChooseCards(player, {
            target = target,
            min = 2,
            max = 2,
            flag = "he",
            prompt = "#ling_qiangyi-swap::"..target.id..":"..2,
            skill_name = skel.name,
          })
        room:obtainCard(player, swaps, false, fk.ReasonPrey, player, skel.name)
        --交予
        local cards=room:askToCards(player,{
            max_num=2,
            min_num=2,
            include_equip=true,
            skill_name=skel.name,
            cancelable=false,
            prompt="#ling_qiangyi-give::"..target.id,
          })

          room:obtainCard(target, cards, true, fk.ReasonGive)
    end,

})









return skel